<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1308024">
<div id="outer" style="columns:3; width:500px;">
  <legend style="columns:1;">
    <div style="width:100px; height:100px;"></div>
  </legend>
</div>
<script>
  document.body.offsetTop;
  outer.style.width = "501px";
</script>
